﻿HmJS.$Import('log');
HmJS.$Import('util.Pinyin');
//HmJS.$Import('core.domready');

HmJS.register('demo.module.util.pinyin', function ($ns) {
	var that = {};

	that.todo = function () {
		var p = new $ns.util.Pinyin();
		//console.log('海洋饼干: ' + p.getFullChars('海洋饼干'));
		log.info('海洋饼干: ' + p.getFullChars('海洋饼干'));
		log.info('苦苦的苦瓜: ' + p.getCamelChars('苦苦的苦瓜'));
	}

	return that;
});
